From 0554f6372bad0d69571169d5fdd6391504f77e22 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 28 Aug 2017 18:52:48 -0400 Subject: [PATCH] a11y: Stop listening for configure events This needs to be done differently. --- gtk/a11y/gtkaccessibility.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk/a11y/gtkaccessibility.c b/gtk/a11y/gtkaccessibility.c index 928f8665d0..6cf86b07ae 100644 --- a/gtk/a11y/gtkaccessibility.c +++ b/gtk/a11y/gtkaccessibility.c @@ -841,6 +841,7 @@ state_event_watcher (GSignalInvocationHint *hint, return FALSE; } +#if 0 static gboolean configure_event_watcher (GSignalInvocationHint *hint, guint n_param_values, @@ -888,6 +889,7 @@ configure_event_watcher (GSignalInvocationHint *hint, return FALSE; } +#endif static gboolean window_focus (GtkWidget *widget, @@ -959,8 +961,10 @@ do_window_event_initialization (void) g_type_class_ref (GTK_TYPE_WINDOW_ACCESSIBLE); g_signal_add_emission_hook (g_signal_lookup ("window-state-event", GTK_TYPE_WIDGET), 0, state_event_watcher, NULL, (GDestroyNotify) NULL); +#if 0 g_signal_add_emission_hook (g_signal_lookup ("configure-event", GTK_TYPE_WIDGET), 0, configure_event_watcher, NULL, (GDestroyNotify) NULL); +#endif root = atk_get_root (); g_signal_connect (root, "children-changed::add", (GCallback) window_added, NULL); -- 2.30.2